added event handling for filters