fix get text from search form bug