removed an unnecessary line redefining $element_name