fixed display of correct title for search