another bugfix for repo call