sql fix creating table
bugfix