fixes to create_playlist.sql