bugfix

typo in variable reference