fixing sibling pointers