fix inbox filter bug