adding barriers between flow_mods