refine order status