fixed invalid file