fix tmpf