fix nitro client creation