printing out correct error