fixed some bugs with datestrings