BUG: table renaming