fix bugs on switching playlists