Bugfix: generate a proper URL.