fixed a bug with item filter