fixed trailing slashes.