fixing file path error