fix wrong link url

fix debug on wrong url being setup in the new was using the query paths
even when it wont go to a correct path. So added a realUrls path.