Fix adminUrlPath issue