correct an assertion error.