re-add missing assert