fixing double slash issue