fix assert cond