removed trailing slashes