add corrected links in send-alert and add debug