small fixes for the arp lib