fixing relative file paths