fixing issues with absolute paths