fix for restart stuck