fixed filter bug.