fixed a bug causue trouble when there is no more sibling header