Altered:
  fix the wrong usage of a variable