Removes error messages.