fix checkbox bug. close #22