removed dead code
removed double // in uri