fix initialization bug in NetUtils
fix some warnings