fix sibling encodings