minor error message improvements