fixed small bug where searching for names was broken