decode uri for synthesize