fix bug with wrong var