fixing switch links