fixed too many processors problem