tweaks to error messages