fixed checkbox bugs + fixed access modifiers