Fix a bug where the url was not complete