bug fix

now if a value  for a variable references another value in that list (of
constants), its value is set to the value of that constant