fixed bug where i named the lockfile with the wrong name