fixed perpetual switch-walking