remove trailing slash from graph uri