tips to solve total_seconds issue when present