cleanup searchmodel