fixing file paths