watchdog bug fix