split message handler.