fix an assertion bug