change name of filterDefs to mapFIlterDefs