keepHistory enabling API changed