fixed the url error for canceling