fix selector

correction id=remove_undefined if element in the collection is no input field