fix bug when sentence length == 1
fix bug when sentence length==1 or no path found.
daily backup