remove error conditions