added setBaseUrl to paginator.