change table.temp to table.temporary