add alert handle