forgot to re-apply temporary table