fixed type and id in metadata