fix set view param in find function