clean out unused parts of xbsvgen