fix triplicated anchor 'detect-script'