fix small bug
updated lockfile handling