corrected creation of table