bug fix for empty config