checkbox bug solved