fix copy-paste error, used wrong variable name