workaround for short history: historyLength is set to 1 when history=no option is active