fix unnecessary assertion based on warnings