fix fetch url bug