yet another bugfix, changed variable name