removed old search bar
small code cleanups