changed search controler