yeah I didn't like this, but this was how Bates did it and the /'s in params cause problems otherwise. 
help would be appreciated :)