fixed file parsing error