fixed same bugs , and add simple route function.