added generate BudgetHistory, fix getHistory with desc