Make aos_rpc to work again

milestone5