fix typo date changed check