fixed the checkbox