small fix for switchdns