Remove trailing slashes to eliminate warnings