fix makeUrl