fix lock file too