Fixed Watchdog to compile