fix create table entity issue