fix issue#28 to allow multiple trema switches to be started