handling NULL case in addr_to_hidra