submitOrder fixes