added cancel filter function