fixed the url path from diags to diag for diagnostics