fix bugs

the seconde word search bug
word presetened time delay
modify program arch