Fix broken initialisation of default client