fixed creating the filters