addressed fread warning