Fixed a bug in url split