work with the api change in netlet.