fixed variety of server issues around having extra /'s