create temp table and correct fields
try insert data into table