clean up search form template