Fixing eventfilter