fix sponsobundle debug code