Fix closing tag bug