fix total and calculate balance only for month