strip ending backslash from url