fix bug in wv filter