fixing lock file issues