fix total_cash modle