update end div tag

bug fix with closeTag == true