Fixed typo in function name and add watchdog statement