SPY and triple witching

An unwelcome surprise this morning.
Assigned on 09/18/2020, 09/21/2020 and even 09/25/2020 short diagonal calls on SPY because of an Ex-Div on the ETF.
Now I have to cover the short stock.
Always a messy business.
Plus I have to figure out how to make back the dividend I now owe the guys that exercised me.

AND today is triple witching day in the options market.