Fixed invalid uri output to match new uri format