fix detect Date changes