bugfix for avg_total_assets