Issue with resource renaming