fixed netvar bug