inor issues with message type