Fix cross references inside the repository