issue #2:when generate order, it starts with status 0