fix to clicking checkbox