fix maximize-restore v3, stable