Fixed bug with path renames