Fix refresh order.