Fix generated URLs