fix lockfile