fixed checkbox issues