handle unknown exceptions better