filter: make sure filters dont read uninitialized memory