bugfix playlist writing