fix pub url