Cleaning up error block.