small fix for checkbuttons