Fixed make_temp call