Update listener to search for var name instead of var position

n/a