little modify to debug the virtual testbed