Fixed pickPlayer() function