better search form for localsearch
Fix #387
removed unused imports