Fix NaN delay issue.