fix checkbox problem