found and fixed another error with the search bar