fix fields on create