pass repository and not  gallery info to builder