date filter fix