added some more error messages