fixed duplicate create table issue