drop tmp table fix