fix prevsiblings order