fix orders_history