add alert view and status judge.