Reseting error code