fix temporary filename