fix bug in StandardVariables update