only add query param question mark when query params specified