fix ontime calculation for dead users