Remove trailing '/' from urls