change generate_meta_tags method further