fix reference links