corrected bugs linked to renaming