fixed process slashes at end of url