Fix bug in the metadata