Fixed new table creation problem