[refs #99] Fixing duplicate variable definition