fix url getter