URL generation bugfix