fix playlist generation