and shouldn't this just be transition.url here based on your initial return?