fixing white flash