fixed: wrong member variable used