bds clean up