Fixing bug in execute `shell` or `start` in offline. close #96