correct the ../.. issue with file paths