Fixed callback execution error on SwitchControlGenerator
Merge pull request #153 from klirichek/SwitchControlGenerator_fix

Fixed callback execution error on SwitchControlGenerator