Removing trailing '/' from the URL's