delete unnecessary code in global containers