Fixed bug with slots in table2