fixed the add tmp files mistake... again.