remove beforefilter