moves type before property name