repaired error on read