Fixed URL editing bug