fix LockFile.