fixing wrong element close tag