Fix calculate EXEC time bug