fix assert id #598