replaced delete table with truncate table