fix issue with checkbox