fixed isPlaying error