added support for empty client params