fix bug on radio button template