fix number of core switches