"history" option bug fix