bugfix for repo call