fix bug: wrong var