corrected issue with id attribute for scan link