made error changes