solve mtime problem