fixed table renaming