stats: fix startupTime calculation