fix modified date bug