replace alert by alert_text