fixed playlist writer bug