fix bug construction URL