fix the date time problem in dirty way