fixed crasher in the checkbox element