fixed file path bug