Fixing table renaming