fix metadata path