fix error when submitting playlist ids containing spaces