fixed a bug in setting order status in Submit operation