fix something on date method