fixes to url processing stuff
fix base64 stuff