some flash fixes