fixed a bug with the cmd radio button template