improve in rename_ident