solve create table twice conflicts problems

use more try catch and add some if sentence to see whether these tables
are empty, if empty then insert data