filter element for find() function