use values instead of names for radioButtons due to #340

the problem was revealed from #377