fix totalseconds