fix KCL client for Dictionary injection