close log group after redraw