small fix: wrong variable