fix crash on gemwin recreation
help patch