remove one redundant assert cause the for can filter this situation