fix millisecond in func:speed