bugfix in SwitchCoin