print parent element