#282 fixed issue with wrong variable name