fix NPE in isHighDate