removed silly trailing slashes from endpoints