Fix NaN bug for 'few seconds'