fix field will not show enum when type is string