Fix log order.