s2d: Switch should be a boolean, not an integer.