trailing slash issue