fix sending order