fix compilation error on the NetworkManager