Changed tmp name to mtt_tmp