fix modified time bug