fixing db url