Made server return correct URL