1.add watchdog for web server 2.remove optional dep