Fixed case-insensitive renaming