fix case sensitivity bug on table config in PopulateTableList
more case sensitivity bugs