webpage reordering bug-fixing