fix ref url