fixing flash export