print some error messages