modify __findElement method