fix meta tag handling