remove duplicate and wrong routing.