Fixed tainted variable numPLayers