issues with end tags in normal elements