printing some correct error messages