fixed end of playlist bug