Fix lock file