prepare for dropping sub flows