cleaned up/fixed table configure