quick fix for date issue.