added getFirst to SSR