fixing toggling for repeaters / transformer