Fix the lock file