fixed checkbox glitch