fix isPlaying state