fix type in renaming