fix a bug that the vector pointer is not updated correctly. Signed-off-by: chao.an <anchao@xiaomi.com>