Fix metadata cause not admmit oneof and anyof