bugfix: if variable name was wrong