fixing updateCurve (networkTree)
fixing updateCurve (boxWidget)