fix metadataxml element bugs for postgres