display alert view on error