catching all error messages