handle invalid order data