bug fix:  sql output for table creation corrected