fix search in Model controller