fixed missing title and added meta handling