prevent users from checking the last option of checkbox