Fixed a missing `var` which was causing linting to fail