Fix undefined alert view