fix assert ids #603