@staticmethod
def clean_cfg(cfg):
    """
        Clean self keys with None (CLI default values fix)
        """
    keys = list(cfg.keys())
    for key in keys:
        if cfg[key] is None:
            cfg.pop(key)
    return cfg
