file location bug fix