fixed typo on Date()