remove error block