fix net library syntax issue