fix setting mtime