ref to class member corercted