Fixing bug 1148, cannot attach url