fix return after request error