fixing deploy restart