fix a bug of url