fixed first time closure download breaking export