fixed date bug.  kind of a hack which takes date string and converts