fix mysql in renameTag