fix bug of total earning project