fixing the template for title