revise for read error