fixed icmp reading