Fixing broken switch