Fixed the breadcrumb issue. For some reason the function getting the domain doesn't work so I just replaced it with a forward slash