handle cached error