Fix type in metadata