prevent selected term refresh, clean up logs