fix bug in url