Fix issue with methodname, which was by accident rewritten as well with
the url fix.