Fix a bug in starting sandbox.