fix checkbox 'checked' state rendering