fixed create table statements