fixed zero_tmps