fixed overzealous typing to date format