fix sampleplayer variable name