avoid adding duplicate flow