fixed parsed file bugs