checkbox works fine now