Bug fix in create table statement