fixed the fread() bug in another place