ddns script bug fix