fixing the metadata path