fix crash if creating a playlist fails