close parent instance variables in class