date validator bug correction.