fix bug: code pane doesn't update on re-check