fixed if length is undefined radio button