remove redundant assert