corrected bugs in IncomeRepository and GetTotal