remove pathname, went a different route