this is because tableName has an upper case in the name. Then TABLE_NAME converts to table.name and not the expected tableName