Fix issue with url editing