Fix getTableClassName to return the good TableClassname