fixes issue #27 by properly decoding the uricomponents before reuse