vm bc cleanup