fixing link to loop reference