refine element finder for issue #114, #115.