fixing a small issue with appending of the auto -generated URL