added local storage when delivering results fail