fix use of a variable that I removed earlier