history: fix warning display.