add disabled flag to control history