fix checkbox compatability