fixed .tmp files