Removes error messages