fixed the history click on same item