Fixed watchdog bug.