Changes alert to id