Corrected error messages.