fix tests failed on travis.
[action] throw if order already init.