fix ref to href