fix variable name

prevents undefined variable error