added change on choice type, now takes a look the kind of array
added change on choice type, now takes a look the kind of array