Fix url bug on node 10