Fix alert view bug