Remove the metadata first