fixing ev date check