Metadata correction