Fix deploy restart