fixed file location bug