setting checbox bug fixed