fix total seconds