adjust to recordingfilter patch by kls