Still not able to print closing tag