fix static date bug