fix renameField bug