fix field renaming bug