clear up error messages