fixed a typo on checkybox function call