changed the main error messages