switched back to baseUrl and pathInfo