change to the way flowspace is added to the switches