fix a bug in url