fixed a inq_block bug for magda's reading code.