fix: bug that placed lock file in wrong dir