Fixed typo in table creation and insert