Fixed bug that prevented the making of the tables