fixing restart