Found a typo of correctDateArray