fix few broken assertions