fixed wrong instance var