raise a better exception for renaming long indexes