Dev netmap

fixed compilation errors