Suggestion: if possible, use 'reverse' for generating the url.