support enum type internal value when bind params