fixed read error