changed ptr_T to ELEM_T

changed ptr_T to ELEM_T