fixed error in variable node