Revert "correct an assertion error."

This reverts commit cced30713cd36cc1ea39f330471ab794ba23a32c.