remove general errors