minor error changes