fix misplaced code playlistService