Fixed lockfile removal