rename messageType