fix maximize-restore v4, stable