add missing assert