fix to selective play(index) function