fix add history filter