fixed filter bug: