bug in read extract