Fix schema field type