Find element optimize