fixed checkbox problem