fix temp file name if no command