fix bug of cpp and neko