fixed the play all mode bug