fixed wrong name for some primary key