fix isDate