fix check order history bug