Correct fread bug