fix deftype fields order