bug in retrieving values from radio buttons fixed