fix validate values when choices key is not string