little bit of url cleanup