instead of a crash, do an alert view