ME: added a check for strings that don't match date format