fixed filter.js