fixed xget core dump by return invalid pointer.