deleted unnecessary case for current_element.tagName