guard against bad blocks.