using unparsed uri to get full uri