Minor error changes