Fix related to table creation

Fix related to table creation