fixed checkbox behaviour