refactor elems options