when restart is done