trying to fix white flash