fixed json when radio box is used