fix effective url

if this is not correct, it is a bug. Merge or fix.