minor adjustments in error messages.