fixed filter parsing bug