fixed case of table names