bugfix for wrong variable name