trying to fix wdt and xbee initialization