try to remove duplicate flows