fix date.today() call