bug fixes with empty config