more fixes to checkbox plugin