removing error messages