add missing assertion