Fixed reading ipf file error