fixed a bug causue trouble when there is no more sibling header
Fixed a bug cause trouble when there's no more sibling header