closed checkbox not working