fix order status query