fixing meta tags and closing an open div