fixed file path bug --KW