refactory the filter load path