remove duplicate assert