fix maximize-restore v5, stable