Fix cash flow calculation to include purchase other expenses.