fig bug and adding add repository by uri.