fix grid filter bug