fix trailing slash issue