Fix preceding slash issue