some small changes for repository chaining