checkbox bug fixed