Minor changes

Updated error messages.