Fix $tableName case