trying to recover from exception