Repo crash fixup