remove unnecessary comments from the search controller