deletes alert functions