fix the bug of search btn