Remove unused junk from urls