corrected tableName issue