attempt to correct errors