Fix bugs and disabled ICMP ping