add support for choice buffer num type