removing things in main that are officially replaced or relocated