metadata: fix attribute types