fix lock file