fix eternal while loop

under playlist name decision function