changes to search bar and topics flag