cleanup url. This is a massive hack.