fixed create table script