handle empty config