fix filter date issue