fix activity reordering