removing error condition