fixed the metadata tag issue