empty filter bug fix