fix instance variables