event filtering with e.cut
bug fix