fix bug around deleted checkbox