fix bug :crash when downlink ret -1