changed creat table sql to work