Fixes an oops in pasting a url