search bar doesn't crash anymore