fix bug when access to search menu