fix restart app commands