changing to uriComponent for encoding