fix default url generation