Fix trailing slashes