fixed when pressing enter in search bar would cause page to reload and end search