total_seconds fix