fix php waiting time, modify the edit distance, much better now