Bugfix - wrong variable
Codereview