fixed minor error messages