fixing lock file