added correct table handling with empty config