cleaning ParentBox class