fix orders' bug