scan-attr fix